

//米转换成英尺
unsigned long MetreToFoot(unsigned long metre)
{
    //乘以3.2808399 近似值取 3.281
    unsigned long temp;
    unsigned long temp2;
    unsigned long temp3;
    unsigned short temp4;
    temp = (metre<<1)+metre;//乘以3
    //乘以0.2
    temp2 = (metre<<1)/10;
    //乘以0.08
	temp3 = (metre<<3)/100;
    //乘以0.001
	temp4 = (metre)/1000;
	return (temp+temp2+temp3+temp4);
}
